package com.ihisomp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 角色与页面关系
 * </p>
 *
 * @author zy
 * @since 2022-04-12
 */
@TableName("t_org_role_page")
public class OrgRolePage implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "role_pages_key", type = IdType.INPUT)
    private String rolePagesKey;

    /**
     * 机构主键
     */
    private String orgKey;

    /**
     * 角色主键
     */
    private String roleKey;

    private String pagePathKey;

    public String getRolePagesKey() {
        return rolePagesKey;
    }

    public void setRolePagesKey(String rolePagesKey) {
        this.rolePagesKey = rolePagesKey;
    }
    public String getOrgKey() {
        return orgKey;
    }

    public void setOrgKey(String orgKey) {
        this.orgKey = orgKey;
    }
    public String getRoleKey() {
        return roleKey;
    }

    public void setRoleKey(String roleKey) {
        this.roleKey = roleKey;
    }
    public String getPagePathKey() {
        return pagePathKey;
    }

    public void setPagePathKey(String pagePathKey) {
        this.pagePathKey = pagePathKey;
    }

    @Override
    public String toString() {
        return "OrgRolePage{" +
            "rolePagesKey=" + rolePagesKey +
            ", orgKey=" + orgKey +
            ", roleKey=" + roleKey +
            ", pagePathKey=" + pagePathKey +
        "}";
    }
}
